// 统一管理api 接口
let base = process.env.NODE_ENV === "development"? "/api" : process.env.VUE_APP_URL
let urlObj = {
  login: "/login", //登录接口
  sysUserPassword:"/sys/user/password", //修改密码
  sysUserInfo: "/sys/user/info", //获取用户信息
  logout:"/logout", //退出登录
  sysSchedulePage:"/sys/schedule/page", //定时任务列表
  sysSchedule:"/sys/schedule", //获取定时任务详情
  submitSysSchedule:"/sys/schedule", //提交定时任务
  delSysSchedule:"/sys/schedule", //删除定时任务
  sysSchedulePause:"/sys/schedule/pause", //暂停定时任务
  sysScheduleResume:"/sys/schedule/resume", //恢复定时任务
  sysScheduleRun:"/sys/schedule/run", //执行定时任务
  sysScheduleLogPage:"/sys/scheduleLog/page", //获取定时任务日志列表
  sysRedioPlayer:"/sys/redio/player", //获取视频流
}
for(let i in urlObj){
  urlObj[i] = base + urlObj[i]
}
export default urlObj